import turtle


def draw_circle(color, x, y):
    """
    绘制其中一个环。
    :param color: 环的颜色
    :param x: 环的 x 轴位置
    :param y: 环的 y 轴位置
    """
    turtle.penup()
    turtle.goto(x, y)
    turtle.color(color)
    turtle.pendown()
    turtle.circle(50)


def main():
    turtle.setup(500, 300)
    turtle.pensize(8)
    turtle.hideturtle()
    turtle.speed(300)
    draw_circle('blue', -124, 20)
    draw_circle('black', 0, 20)
    draw_circle('red', 124, 20)
    draw_circle('yellow', -62, -30)
    draw_circle('green', 62, -30)
    turtle.penup()
    turtle.color('black')
    turtle.goto(0, -70)
    turtle.write('231118003_帅锐', font=('Arial', 16))
    input()


main()
